package com.fanfan.SmartPensionSystembackend.entity;

public class FamilyInfo {
    private String name;
    private String relationship;
    private String phone;
    private String elderId;  // 新增 elderId 字段

    public FamilyInfo() {
    }

    public FamilyInfo(String name, String relationship, String phone) {
        this.name = name;
        this.relationship = relationship;
        this.phone = phone;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getRelationship() {
        return relationship;
    }

    public void setRelationship(String relationship) {
        this.relationship = relationship;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getElderId() {
        return elderId;
    }

    public void setElderId(String elderId) {
        this.elderId = elderId;
    }
}
